package com.ruoyi.logistic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

@Data
public class NetworkEntryFeeSettle implements Serializable {
    private static final long serialVersionUID = 118100400317418844L;
    /**
     * 主键
     */
    private Integer id;

    /**
     * 业务时间
     */
    @Excel(name = "业务时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessTime;

    /**
     * 月份
     */
    @Excel(name = "月份")
    private String month;

    /**
     * 运单号
     */
    @Excel(name = "运单号")
    private String transportCode;

    /**
     * 网点名称
     */
    @Excel(name = "网点名称")
    private Integer networkNameId;

    /**
     * 结算类型
     */
    @Excel(name = "结算类型")
    private String settleType;

    /**
     * 结算对象
     */
    @Excel(name = "结算对象")
    private Integer settleObjectId;

    /**
     * 数据处理提示
     */
    @Excel(name = "数据处理提示")
    private Integer abnormalReasonId;

    /**
     * 支出应付金额
     */
    @Excel(name = "应付金额")
    private BigDecimal expendMoney;

    /**
     * 支出基础派费
     */
    @Excel(name = "基础派费")
    private BigDecimal expendBaseFee;

    /**
     * 支出大件派费
     */
    @Excel(name = "大件派费")
    private BigDecimal expendBigFee;

    /**
     * 派送网点名称
     */
    @Excel(name = "派送网点名称")
    private String deliveryNetworkNameId;

    /**
     * 派送员
     */
    @Excel(name = "派送员")
    private String deliverer;

    /**
     * 应收金额
     */
    @Excel(name = "应收金额")
    private BigDecimal incomeMoney;

    /**
     * 收入基础派费
     */
    @Excel(name = "基础派费")
    private BigDecimal incomeBaseFee;

    /**
     * 收入大件派费
     */
    @Excel(name = "大件派费")
    private BigDecimal incomeBigFee;

    /**
     * 收入冬季补贴
     */
    @Excel(name = "冬季补贴")
    private BigDecimal incomeWinterSubsidy;

    /**
     * 总部车线补贴
     */
    @Excel(name = "总部车线补贴")
    private BigDecimal incomeCarLineSubsidy;

    /**
     * 收入乡镇补贴
     */
    @Excel(name = "乡镇补贴")
    private BigDecimal incomeTownSubsidy;

    /**
     * 签收时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签收时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Timestamp signTime;

    /**
     * 到件时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "到件时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Timestamp arriveTime;

    /**
     * 实际派送历时
     */
    @Excel(name = "实际派送历时")
    private Double deliverTimeLast;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private Long updateBy;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    /**
     * 修改时间
     */
    @Excel(name = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updateTime;
    //网点
    private NetworkName networkName;
    //    承包区
    private NetworkName settleObject;
    //异常原因
    private NetworkAbnormalData abnormalData;
    //派送网点信息
    private NetworkName deliveryNetworkName;
}
